#include <iostream>

using namespace std;

void jian(char& c, int k)
{
	//k mod
	k = k % 26;
	if ((int)c - k >= 97)
	{
		c = (char)(int)(c - k);
	}
	else
	{
		c = (char)(int)(c - k) + 26;
	}
}
int main()
{
	int n;
	cin >> n;
	int** mat = new int* [n];
	char tmp;
	for (int i = 0; i < n; i++)
	{
		mat[i] = new int[n];
	}
	for (int i = 0; i < n; i++)
	{
		for (int j = 0; j < n; j++)
		{
			cin >> tmp;
		}
	}
	cout << 5;
}
